using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TMS.Application.RequestDto;
using TMS.Application.ResponseDto;
using TMS.Domain.Entity;

namespace TMS.Application.Common.Interface
{
    public interface IIdentityService
    {
        Task<AppTokenDto> ValidateUserAsync(UserForAuthDto userForAuthDto);

        Task<AppTokenDto> GenerateToken(StuUsers User, TeaUsers teaUsers, bool isTea);

        Task<AppTokenDto> RefreshTokenAsync(AppTokenDto appToken);
    }
}